Fixing the security flag snafu