fixed: using a non existing function invalidate_cache_for_entity