try to find solution for resign to background problem