Fixed 500 Error

Fix Internal Server Error (hopefully)