Bone rotation changes

I rotate the y-axis from the finger bones so I have a closed hand, but when the character is walking the position of the y-axis changes and the fingers are a bit funny.

The pictures explain most of it.
Help would be appreciated : )

Regards,

217476-knipsel2.png