fixed main class