fix setting's window on cmp