check null for debug conf