fixed a bug if displaydetailedtext is called without correct menucat