Fix delete action