fixed a bug where data set in the view didn't show up in the layout