fixing error in AppView