uncomment average query result computation