fixed main return value