fix the console window size issue