When bake a character with three leg bones, it's a question of Thigh's direction

Hello. I’m using a character with three-bones legs. Fowards Solve worked it out well, but it got stuck on the Backward Solve. When bake it, It’s not in the right direction for the Thighs. How can I direct it towards Calf on the Backward Solve? I can’t upload a picture of the character I’m using now, so I’m attaching a picture of Dragon Rig that I referenced.
캡처