fix for directory slashes