fix the replacement in ua parser