add clipboard function, refine UI