Fixing panel::register()