fix chainer function#5