add warning event