reverting changes on file so the server can access DB