clear bundle reference after delete