Fixed security settings crash