fix metric complete bug
Merge pull request #670 from youyong205/master

fix metric complete bug