fixed main alignment