fix wrong way of getting args in DELETE method