if no terms then no joins