FIXED: multibyte string bugs