fixing leftover syntax error