fixed typo issue in configuation reading