fix leading zeroes