Fix schematic saving