Fixed some typos when reading the configuration file