removed debug code from sendNotice