solve id 1502 and error that tasks are not expanded although global is s...

solve id 1502 and error that tasks are not expanded although global is set to expanded