how can i fix the this offset rig problem with the hand? so i was making this model for a while now and i rigged it and everything, but for some reason the fingers arent on the bones when i rotate them more than about 20

does anyone know whats going on and how do i fix it?
turns out because i made the parent bone weights ovelap with the child, this caused the problem