prevent circular references (closes #121)