fix security declarations.