fix check cookies/ used user-agent