typo error logging