Fixed the 500 response code!

Response code 500: Internal Server Error