Fix bug when a 0 is added at the beginning of number