Merge pull request #7 from hying-caritas/fix-inout-out-arg

Fix inout and out arguments