fix force close when recreated activity/fragment