Fixed a crash problem.
Fixed a crash problem.