fix up the layout in Safari