try to optimize windows