add warning trace