fixes #713
Merge pull request #946 from ractivejs/gh-713

fixes #713