fix init complete