fix calls to metrics