fix init params