fix spec when user agent is different