Fix to metric deref
Merge pull request #6 from jrconlin/master

Fix to metric deref