'menu' is undefined