Crouch not working

So i have a first person and 3rd person view but for some reason i can crouch when i dont socket my camera to my head but when its not socket crouch works fine but the camera doesnt work well with first person when its not socket