Fix task run