debug refresh fix