fixed display issue in Safari