correct spread in multiple id case