fix spark