Fix warn messages.