update warning message for check dangerous attributes