fixes bug in displayContentController