bug fixes in menu builder