formatting fix for media