fix media sizes