fixes #2881