adjust init function again

Signed-off-by: zjjott <zjjott@126.com>