[client][managed] fix warnings