fixed a small issue with spacing in the error handler