make client delete request work