removeUnnecessaryZeros fixed