fix init phase