fix not SyntaxError bug