Fix some error messages.