fix bugs in retrieval measures
Merge pull request #5 from 11693-01/master

fix bugs in retrieval measures