fixed bug when menu not assigned to any locations