fixed bug in xList with unique checking