fix typo when deleting tasks