Fixed bug in flyCircuit method