Fixed issue with corrupt index.html file