fix a bug for checkMsg, remove all console in the client
change version to 0.3.1