modify backToHome crash bug