Fairs take precaution against swine flu