Enhance plugin warning detecting. close #597