fixes #951
Merge pull request #959 from ractivejs/gh-951

fixes #951