Fixing leading 0s bug.