fix app crush issue