Fix bug, SLAP, and change attachment type

#347 
`std::move`