finish debugging next/previous in menu.