rename isunit to isscalar