fix autoload bug for chrome v38