quick fix for issue #14, this prevents just the crash and does not solve...

This is just a quick fix for the crash, so people don't uninstall the plugin. Of course that does not solve the origin of the bug