fixed some circuit format errors