Fixed numberTask not defined