fixed logging.