Fix configuration read crash