fix url ending