clients api fixed