Fix exception on second launch and stop using plugin whitelist