Reshape of ChainUnit, minor error correction