bugfix for error handling while detaching volumes