Ark Mounted Turret issues

I have made a custom mounted turret based off Arks mounted turret and have hooked up all the aim space and all that however i am unable to mount the turret even tho i have same sockets as the Ark turrets, i get the mount sound then it just boots you out.

Dont worry got it working

you should post how you resolved it so that if later down the road, someone else runs into the same issue, the answer is already posted. That way we dont have the same questions being asked