fix server exception when using "tiancity" client