Correcting Syntax error