modify url to index