apply fixes from PR #16 for metrics find API to work