fix for regarde taskStack