Grouping the avatar's hats changes the hats locations

Hello, so recently I have been learning about GFX and in all youtube tutorials they tell you to group the hats but this happens:

It was working about 5 hours ago but now they all just change locations
Is there a way to fix this?
Thank you!
EDIT: Here is my model bar:

get rid of all the accessory welds before grouping c: