load tasks correctly