warning near.zero.var taken care of