[cleanup] remove allow_attach