Correcting url paths