fixed window issue