add window but failed