This is a case for any new bowler, who is new to leg-spin and trying googlys'..
Once you try the ball which comes out from the back of your hand, that even turns' the good leg-spin way, the reason is understood, and the answer is here..:..
Put your hand as if you are in a position when the umpire is paused while waving a four..

..
Now put your Leg-spin position up, ..Right.., and now, go normally and act as if you are bowling through to the point where you are about to throw the ball..(Really, imagine you're bowling a ball).. And, Make sure you release with the palm facing your side And, Now, stop where You are about to bowl and at the time when you spin the ball from your fingers, but not releasing it completely..
Now, see where the position of your ball is, towards the leg-spin or towards the off-spin way..? And, next.. Yeah, if it's in the leg-spin way, twist your hand more towards the right side, towards the off-spinning side, IN the position as you were before, and come to the normal position as you were before, to the umpire-pause way

.. WITH THE POSITION OF THE HAND UN-MOVED, and try bowling and stopping at the position at the release of the ball, and imagine you're now bowling a googly and see where the ball stops and in which direction it is in, Left of right, if it's still right, try the way as i said several times and bowl once you get the Position correctly and Right.. Perfect "Legspin googly" would really be added in your arsenal..
There are more simple ways, but this is the way, you practice "Leg-Spin googly"..