fix if loop in xserial