fix delete method for restify