fix bug where when sparks were reset, ctype wasn't