added check for unattached volumes