just improve some logging.