fix to redirect after delete