fix internal metric