Fix null value of config