fixed a bug with getRandomTasks() returning a number instead of the task name