small change to rest client and packml