Fix Firebase ref.