fix index url bug