Fixed undefined vol_type when skip volumes.