Improvement to 500 error display