fixed firebase setup