fixed orphaned windows