added error message to 500 page