a proper normalize