further improvements in 500 error page