Fix invalid user agent setting found by glancing over the code