tweaked a menu callback to show an error.