ui refac