trying to correct datastreams