fixed getVolumes() call