fix(client) format -> formatMsg