minor fix to theil metrics