added newlines to error printout