Fixed typo on browser check method