fixed so uses view model data properly in demo