bool taskId bug fix