Fixed a ui bug on index.html