fixes #1074
Merge pull request #1076 from ractivejs/gh-1074

fixes #1074