refine misalignment ui.