Fix normalize() bug.