fix bug mod could disable security for next start by itself