Fix bad metrics calls.