sanitize notices bug fix

Signed-off-by: Chandra Maharzan <maharzan@gmail.com>