fixed a bug in the configuration core file