Fixed MediaItem entity problem.