Fix boot security issue