fix for extended chars