fixed error with PUT, DELETE requests not being accepted