small bug fix in --l2