modify url functions