codebook info only displayed after selecting a variable