some fixes
viewmanager doesn't work