fix 0X is a string bug