fixed minor wiring mistake