Fix minor issues in mteRestManager