fix logging args