prepare for pathogen and bug fix