fix bug in foxmetrics provider