fixed bug with ddi datastream