fix for non unicode characters