Fixed the cache module with proper async cbs