fixes #1399
Merge pull request #1408 from ractivejs/gh-1399

fixes #1399