fix my bug for media_type