write errors to screen