fix syntax error on attached file