fix function._unpack for chained functions
Merge pull request #47 from xunxunwu/unpackfix

fix function._unpack for chained functions