Fix normalize procedure.