bug fix: incorrect delete action