Adding bones to rigify

Hi
Im adding bones in edit mode to a rigify rig. But the weights are just not working right… any ideas please


In edit mode, select one of the trailing vertices and open up the sidebar (press N). You will be able to see what vertex groups are assigned to that vertex. That should give you a place to start fixing your problem.
Hard to say more with just these two images.