fix bug for term's color in jsonvalue