normalize function corrections