Bug 1454

https://gist.github.com/magul/b9c7346481e05655e4e4