bug after enter background