added exception message in header for 404