trying to fix the 500 internal server error