create_cycle bug