fixed window size issue