Fixed Firebase framework bug