fix logging format string