check params for number of unique values. minor big fix in report