fixes bundler issues from pull request 2278