Dino walking issue

I need some advise how im able to fix this.
Made a dragon, when the creature lands and walking on the ground it goes verticle.
But it fly’s perfectly as you can see in the pictures below.
Was thinking that it has somthing to do with the component, but you can turn it.
Anyone got a solution for this? appricate it !