Auto refresh fix