fix MainFrameBackup