removed warning in Window