Fix a bug with 3 at end of a number