lengthscale fixes