fixed main export