safe guard for all metrics to be integers