minor corrections in mteRestClient