fix log formatting probrem