fix uimainwindow line 195