Fixing syntaxerror