Socket does not show up

I wantted to attach my weapon to my leg therefore i added a socket but then it attached it like this in the photo

then i figured it out that editor does not see the socket i created nor the ones that created by default
as you can see here

i can only attach my weapon to the bones but i want to attach it to the socket i dont understand where is the problem could you guys help me