fix bug to mix the index.html work