fix the window size bug
the version_2
fix the window size bug