fixed typo in circuit.rb