fix for https://github.com/bolt/bolt/issues/1870
Merge pull request #1884 from jadwigo/master

fix for https://github.com/bolt/bolt/issues/1870