Fixes syntax error, removes commented code