Bad syntax error fixed