fixes to restful caller