minor  bug fix of duplicated notice message