fixed bug #1465675 (%x format specifier)