Ik rotates foot in wrong direction

Hello forum, after opening my character project in 2.8 version, the ik bones rotate the feet in wrong direction along Z axis, it worked fine in 2.79. The other two axises seem to rotate well. Looks like something changed during conversion, because few other things were wrong as well.

I appreciate any help, thank you.