fix security def