views: some minor fixes