remove index.html from modes