delete action bug fix