Fix bug, SLAP, and change attachment type

#347 #281 #350 #363