Fixed config loading errors.