Fixed a bug when detaching volumes
Fixed a bug when changing vm passwords