fixed bug with arguments from wrong scope.