MAINT: fixes #1671