fixed first.var.R