fixed a circular call (closes #6864)