modify web index
fix some bugs