fixed wrong parameter value in primitive streams