fix hex format bug when char value big than sign