fix style problem in safari