fix meda and category