should this be logging.warn() instead?