fixes #1124
Merge pull request #1138 from ractivejs/gh-1124

fixes #1124