trying to debug flicker on resume page