fix init issue