fix DockingManager unloading