fix wrong constant in datastream generation