some cosmetic for the client.erl