Fixed extra encoding on paths