Corrects null exception on event.medias