Fixed a couple of circuit issues.