fix syntax errors, had comments