fix up logs