import_vardef handle the levels and names of factors