auto compare the page