fix for REGISTRY-2174
Merge pull request #3 from cnapagoda/master

fix for REGISTRY-2174