possible fix for gs if there are strange letters in filename