fix the configuration bug