fixing url paths