Minor fix when setting configuration