fix leading zeros