fixes #1367
Merge pull request #1368 from ractivejs/gh-1367

fixes #1367