fixes #1137
Merge pull request #1139 from ractivejs/gh-1137

fixes #1137