fix for MIFOSX-468
Merge pull request #256 from vishwasbabu/bug-fix

fix for MIFOSX-468