fix for multibyte character headers