Fix pointer for tasks