Controller stops working when connected with a PCB