fixed condition for slot removal