fix local db stream out