fixing security plugin