Fix the error of lazy initialization.