Previous fix for notices was incorrect

Signed-off-by: Marc Delisle <marc@infomarc.info>