modified attach/detach volume