add warning flag to note