fix issue #164 and add fiddle
Merge pull request #171 from forio/issue-164

fix issue #164 and add fiddle