fixes #1055
Merge pull request #1056 from ractivejs/gh-1055

fixes #1055