fixing reset configuration to reload page