add guard setting