refine some ui