fix compile err from rust upgrade
Update number converter