fixed window sizing errors