Fix : bad redirect after resource deleting