minor inprovement

- number of tasks is correct now