send warning event correctly
0.2.2