Converted hex to binary and fixed character display bug