setting to main window in progress