remove beget dependency on firebase