fixed delete_task