finish index ui version 1
fixed whitespace issue