Fix statics updating problem.