fixing NPE while listing policies