fix MediaFile caching