doc and fix in plugin definition