Fixed menu not setting variables