removes unnecessary logging.