fix wrong number to string conversion