Fixed problem with view manager class.