fix print log.