auto refresh fix