ensure to deactivate plug-ins on exit