fix histogram query log output