refine <en-media> handling