correct cache type