fixed reconfiguration bug