remove invoke in main page class