fix chainer function#8