fix DELETE method