add old browser compatibility