remove nodes before creating new menu views