Corrected reading of config