fixed main tasks