Fix pathogen loading issues