fixes #1094
Merge pull request #1095 from ractivejs/gh-1094

fixes #1094