fix save to firebase
fix firebase save