fixing Issue #178
Merge pull request #185 from MaxCDN/issues/178

fixing Issue #178