fixes bug in displayContentController
Merge pull request #20 from mobitar/master

Bug in displayContentController: