Problems with PS4 controllers

My PS4 had issues with overheating so I changed the thermal paste and cleaned it and the overheating stopped, but right after that my PS4 started to have issues with connectivity to Dualschock 4 and the controller only worked when I striped the upper cover of the device and put the controller on top of the device, only then it would work. any reasonable explanation bc I need help

Did you make sure to plug in the antennas on the ps4?