add user_agent to spec