fixed metrics adapter
fixing metrics adapter