Fixing next syntax error