fix registered example