fix l2 norm