deactivate plugins that throw a fatal error
made some methods static