Log and typo fixes