removed remove_tasks() as obsolte