fix bug for chrome v38