newline syntax error fix