format the ui changed code