Revert "fix fuction error"

This reverts commit c48c2b7cc2b73a5afb676ec1f6518a5aee0480d4.
Revert "change to add version metric"

This reverts commit d90ba5118bad2e5362a5dfecb156f099a9710557.