Fix reference in tasks