fix window_size