fix global variable problem.
fix ui content error