Syntax error output minor bug fixed