fix index
fix ts compiling error; flat-ui added;