reading stream in viewmodel, but not returning stuff as expected