modify plugin, close #4