Fixed leading-zero bug.