restoring configuration