Fix the lat error, and take log away