added functions to find nodes inside plugins