fix loadGlobalTasks