minor fix window definition