move secure to global.