metric bugfix