fixes for media type client