cleaning up flyout