fixing issue #1 for syntax error