fix init proccess bug