fixing up logs