made type completion in dropdown more robust to characters outside of standard ASCII letters