bug with active tasks