fixed incorrect id_var usage
uses value in data
uses value_var correctly