fixes #2889