fix the size of windows