fix bug that caused menu item to push to first tab