fix size mismatch in hub.go