fixed window removing