fix multiple-windower errors