Fixes "cycle" no such attribute error