fix ui layout.