fixed HTTP delete method issue