please check again the argument direction settings. for returning back a value we would set it at least to out direction