fix media css bug