fixed double quoted strings, added case when notice has name 'alert'