a bit more sensible 500 error