changes for replacecurrentbundle