handle delete case