spark correction