Remove index from pathes