Fix less task bug