application suspend crash fix