fix chainer function#2