Cant assign socketname in C++ for a static mesh

Hello, I try to assign a static mesh to a socket, but I cant get it to work. I attached the mesh to the spinebone in the static mesh class, but its still in the air after I killed the AI.

Here is what I do: