Properly attributing sparks