workaround for a bug in ua-parser