fixes #1346
what I meant with the previous commit
Merge pull request #1348 from ractivejs/gh-1346

fixes #1346