modify client source codes, and add some tips