Fix delete action, it works fine