fix notice message problem