fixes to ndexclient