fixing media type adding