fixes #2734