fixed another typo in get_tasks

task -> tasks