fix some bugs, TODO:fix process recv more than one message