syntax error in EOF warning