fixes #2934