fix finding of the index.html file