fixing media sizes