Inconsitency in inout and out parameters