Remove duplicate slash from pathes