fix index.html redirect