fix lnmodel when zrange==0