also flip both fobs over, theres a part # on the back. if they dont match it wont work, 01 regal fob, may not work on a 98 gp.
if your fob was working before it maybe fix able by cleaning the contacts on the board and the button pads with rubbing alcohol.
or it may just need the ground soldered back near the battery.