demo bugfix for registry component