minor revision of window size