addrandom fixed and add danger on agent fixed