fixed main ui.