Fixing bug with statsd metrics