fix logging cases