fix NPE in outline provider