fixed main app