Fix bugs in LchClient