fixes #2452