index.html connection failure bug fix try