fix NPE on reports