fix firebase object limit issue