fix param in init

Signed-off-by: Brooklyn <lynweklm@gmail.com>