changed window type