fixed an issue in xRead with a misplaced parametre