fix for non-latin paths