fix to grab last menu item when dropdown