Fix some bugs in client Fm and wcf service, logic work on little file