fixed main file