fixed redicts on deletion