fixed error in task vs unbound detection