fixing base 10, base 16 issue