browser_type functions corrected