fix some hot warnings