fix logging. a little.