improve directory separator gestion