fix logging string formatting