fixing destroy action