fixing schematic issues