fix index.html regular expression