fix GetTypeVolume method