weak callback
add debug log for obj registry