fix 2 buf for client and add readme