temp fix for caching embedded documents