fixes #718
Merge pull request #722 from ractivejs/gh-718

fixes #718