implemented removing of hubs