Fixing error case where user agent doesn't exist