fix index.html screenshot bugs