fix nested views
Merge pull request #50 from chrbradley/nestedViews

fix nested views