Fixing some bugs in the schematic.