fixed decimal/hex issue