fix for media