fix pathogen loading