fixed a parent-registry rendering problem