mock client fix