remove some unused bool return value. and make client and ic private