corrected character code