modify the layout of ui