fix page select after page created or duplicated