Fixes syntax error which prevents execution