Change logic of changing null values in config