add some ime code
remove some ui