fix condition on volume