Rigify finger bhaving crazy

Hi,
can somebody help me with why the rigify pinky sticks out to the side when bending and not down like the other fingers?

I’ve been having this trouble for a few days, this time I even remodeled the figure closer to the rigify generated rig so that I wouldn’t have to move the bones too much. All the bones have z-axis pointing down, the pinky finger has the same axis pointed as the other fingers, i barely had to move the base bones so the axis can’t be off that much.

what am i doing wrong?