fixes circular reference bug

Here's that PR!