remove window opts