[enhancement] remove the FirebaseValue instance from the  references