[init.cpp] fix spark