bugid-11055 use $out from parameter in handler