Fixed bug in OrderClient