fixed optimizing syntax error