bugfix: when both name and config is changed, one of them fails