refine ui and structure