restore summary refresh code