add check to the resources plugins

* [#237]