fixed a bug in the configuration