Okay now I've tested it and it's fixed. I needed to put load resistors on the blue wire going to ground. Now I just need to solder everything and put it back together.