fix of Registry\Registry::def