remove window height and width setting.