Merge pull request #123 from Computician/master

setting pointer to NULL to match other plugins