Fixed some typos

Fixed some typos in error and log messages.