made 500 error message nicer