Fix for #160
Merge pull request #161 from imulus/feature/fix-customviews

Fix for #160