syntax errors in code fix