remove the old xframe.