fix chainer function#3