added browser check