trying to fix internal server error