Copy index, fix url bug