fix for Fogbugz bug 4709
Merge pull request #72 from vladmunthiu/develop

fix for Fogbugz bug 4709