firebase + fix crash on log create