bugfix for not finding characters that contain unicode