buffer response to send correct status, display line number of parse error