add utility function: warning notice fatal_warning attention.