fixing Firebase