fixed _normalize fn