fix restore-window-conf