fix page number of sub-menu is not updated