Fixed firebase