Found the problem. after testing some wires i found that a ground the alarm was connected to, was shutoff when the shifter left neutral or park.