minor circuit bug