fixes #771
Merge pull request #865 from ractivejs/gh-771

fixes #771