remove circular reference