corrected internal server error status code