fix clas check for request so PUT requests work again