fix infect syntax error