quick fix for #801
Merge pull request #811 from ractivejs/gh-801

gh-801