add fallback for browser detection