add variable name to guard assertions