Ok so i checked the cam sensor and it was plugged in but as i looked near the coil packs i saw that the ground near the coil bracket was just hanging and not grounded.
I then knew that had to be it. I grounded it and everything is good and no more code and running smooth.