fix log formatting