set template vars public