fix user crash problem.