fix initialization of metrics helper