check before reading the configuration.