fixed bug2 in index.html