fixed bug in ComponentRegistry