make it compatible to old view
Merge pull request #58 from jschnasse/test

make it compatible to old view