Fixed a bug when creating sec groups
Fixed a bug when detaching volumes