fix: make the parsing of browser info safer