fixed syntax error in xSelect