fix NPE by initializing set