fixing metrics