handle docs with no entities yet