fix the windows size config