Fixed ln bug