minor bugs fixed in device views
Merge pull request #55 from alaurenty/fixing-bugs-before-deploy

minor bugs fixed in device views