@MostHost_LA Okay it works. Thanks for the response again. I had to manually rebuild that entire leg bone hierarchy to keep consistent bone rotation. Below is the rigged leg after correct bone rotation.
Although I wonder if we have a way to correct bone rotation for an existing skeleton.
This thread was huge help when figuring out the problem. <3 @kjvermilion