fix to read index.html