fix init unit test problem.