check plugins list before save

Fixes #18