fix bug 85 and non repertoried bug in alert