solve problem about lazy initialization