fix chainer function#12