fix window-numbering