fix for leg rotation